<div class="branches form">
<?php echo $this->Form->create('Branch');?>
	<fieldset>
		<legend><?php __('Đơn vị RHM'); ?></legend>
	<?php
		echo $this->Form->input('city_id', array('label'=>'Tỉnh/Thành'));
		echo $this->Form->input('name', array('label'=>'Tên đơn vị RHM'));
		echo $this->Form->input('description', array('label'=>'Mô tả'));
	?>
	<div class="input select required"><label for="BranchType">Vị trí</label>
		<select id="BranchType" name="data[Branch][type]">
			<option value="1" <?php echo $this->data['Branch']['type'] == 1 ? 'selected="selected"' : ''; ?>>cấp quận/huyện</option>
			<option value="2" <?php echo $this->data['Branch']['type'] == 2 ? 'selected="selected"' : ''; ?>>chung</option>			
		</select>
	</div>
	<?php
		echo $this->Form->input('ordering', array('label'=>'Thứ tự'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Thêm đơn vị RHM', true));?>
</div>
<div class="actions">
	<h3><?php __('Chức năng'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Danh sách đơn vị RHM', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Danh sách Tỉnh/Thành', true), array('controller' => 'cities', 'action' => 'index')); ?> </li>		
	</ul>
</div>